<winresize> : Resize Window

Resizes specific window.

Syntax: 

<winresize>("WinTitleOrHWND", Match, Width, Height)

WinTitleOrHWND
Title of the window to activate or HWND.  HWND is a unique handle Windows internally uses to identify each window.  The HWND can be retrieved by some commands (<wininfo>, <win_enumerate>) or is provided by some system variables (_vKeybdFocusWindow_HWND, _vActiveWindow_HWND, _vActiveWindowPrev_HWND).

Match
Takes effect only if a window title is used as WinTitleOrHWND parameter. Can be one of these values:
0 - WinTitle can be substring of a window title
1 - WinTitle must exactly match a window title 

Width
Desired window's width

Height
Desired  window's height

Example: 

<#> This macro resizes "Notepad" window to size 300x200
<#>
<cmds

<if_win>("Notepad","OPEN",0)
   <winresize>("Notepad",0,300,200)
<else>
   <msg>(100,100,"'Notepad' is not opened!","Message",1)
<endif>